package com.twu.biblioteca;


public class MenuMembership implements MenuOption {
    private User user;

    public MenuMembership(User user) {
        this.user = user;
    }

    public void run() {
        if (user.isLogin())
            System.out.println(user.toString());
        else
            System.out.println("Please talk to a Librarian. Thank you");
    }
}
